PREVIEW: Let's find the area! Changes in height and width will affect each shape's area calculation.

  • We're using the width and height of each shape to calculate their area.
  • Choose a number between 1 and 6 for rectangle_width and rectangle_height and see how it affects the area.
  • Click Run each time you change something to see how the output changes.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)